package com.example.administrator.base.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/9/4 0004.
 */

public class AreaBean {

    /**
     * code : 1
     * district : [{"sysAreaId":1,"sysAreaParentId":"0","sysAreaName":"中华人民共和国"},{"sysAreaId":2,"sysAreaParentId":"1","sysAreaName":"四川省"},{"sysAreaId":3,"sysAreaParentId":"2","sysAreaName":"成都市"},{"sysAreaId":4,"sysAreaParentId":"3","sysAreaName":"历城区"},{"sysAreaId":5,"sysAreaParentId":"3","sysAreaName":"历下区"},{"sysAreaId":6,"sysAreaParentId":"3","sysAreaName":"高新区"},{"sysAreaId":7,"sysAreaParentId":"1","sysAreaName":"浙江省"},{"sysAreaId":8,"sysAreaParentId":"7","sysAreaName":"湖州市"},{"sysAreaId":9,"sysAreaParentId":"8","sysAreaName":"吴兴区"},{"sysAreaId":10,"sysAreaParentId":"3","sysAreaName":"夏侯区"},{"sysAreaId":11,"sysAreaParentId":"3","sysAreaName":"小明区"},{"sysAreaId":12,"sysAreaParentId":"8","sysAreaName":"南浔区"},{"sysAreaId":13,"sysAreaParentId":"1","sysAreaName":"上海市"},{"sysAreaId":14,"sysAreaParentId":"13","sysAreaName":"浦东新区"},{"sysAreaId":15,"sysAreaParentId":"13","sysAreaName":"闵行区"},{"sysAreaId":16,"sysAreaParentId":"13","sysAreaName":"徐汇区"},{"sysAreaId":17,"sysAreaParentId":"13","sysAreaName":"上海市长宁区"},{"sysAreaId":18,"sysAreaParentId":"13","sysAreaName":"杨浦区"},{"sysAreaId":19,"sysAreaParentId":"13","sysAreaName":"静安区"},{"sysAreaId":21,"sysAreaParentId":"13","sysAreaName":"上海市宝山区"},{"sysAreaId":22,"sysAreaParentId":"13","sysAreaName":"上海市普陀区"},{"sysAreaId":23,"sysAreaParentId":"13","sysAreaName":"嘉定区"},{"sysAreaId":24,"sysAreaParentId":"13","sysAreaName":"黄浦区"},{"sysAreaId":25,"sysAreaParentId":"13","sysAreaName":"虹口区"},{"sysAreaId":26,"sysAreaParentId":"13","sysAreaName":"松江区"},{"sysAreaId":27,"sysAreaParentId":"13","sysAreaName":"金山区"},{"sysAreaId":28,"sysAreaParentId":"13","sysAreaName":"奉贤区"},{"sysAreaId":29,"sysAreaParentId":"1","sysAreaName":"北京市"},{"sysAreaId":52,"sysAreaParentId":"29","sysAreaName":"东城区"},{"sysAreaId":53,"sysAreaParentId":"29","sysAreaName":"朝阳区"},{"sysAreaId":54,"sysAreaParentId":"29","sysAreaName":"海淀区"},{"sysAreaId":55,"sysAreaParentId":"29","sysAreaName":"通州区"},{"sysAreaId":56,"sysAreaParentId":"29","sysAreaName":"丰台区"},{"sysAreaId":57,"sysAreaParentId":"29","sysAreaName":"西城区"},{"sysAreaId":58,"sysAreaParentId":"29","sysAreaName":"石景山"},{"sysAreaId":59,"sysAreaParentId":"1","sysAreaName":"深圳市"},{"sysAreaId":60,"sysAreaParentId":"59","sysAreaName":"罗湖区"},{"sysAreaId":61,"sysAreaParentId":"59","sysAreaName":"福田区"},{"sysAreaId":62,"sysAreaParentId":"59","sysAreaName":"南山区"},{"sysAreaId":63,"sysAreaParentId":"59","sysAreaName":"龙岗区"},{"sysAreaId":64,"sysAreaParentId":"29","sysAreaName":"房山区"},{"sysAreaId":65,"sysAreaParentId":"29","sysAreaName":"大兴区"},{"sysAreaId":66,"sysAreaParentId":"29","sysAreaName":"北京全区"},{"sysAreaId":67,"sysAreaParentId":"13","sysAreaName":"青浦区"},{"sysAreaId":68,"sysAreaParentId":"59","sysAreaName":"龙华新区"},{"sysAreaId":69,"sysAreaParentId":"1","sysAreaName":"厦门市"},{"sysAreaId":70,"sysAreaParentId":"69","sysAreaName":"集美区"}]
     * message : 信息获取成功！
     */

    private int code;
    private String message;
    private List<DistrictBean> district;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DistrictBean> getDistrict() {
        return district;
    }

    public void setDistrict(List<DistrictBean> district) {
        this.district = district;
    }

    public static class DistrictBean {
        /**
         * sysAreaId : 1
         * sysAreaParentId : 0
         * sysAreaName : 中华人民共和国
         */

        private int sysAreaId;
        private int sysAreaParentId;
        private String sysAreaName;

        public int getSysAreaId() {
            return sysAreaId;
        }

        public void setSysAreaId(int sysAreaId) {
            this.sysAreaId = sysAreaId;
        }

        public int getSysAreaParentId() {
            return sysAreaParentId;
        }

        public void setSysAreaParentId(int sysAreaParentId) {
            this.sysAreaParentId = sysAreaParentId;
        }

        public String getSysAreaName() {
            return sysAreaName;
        }

        public void setSysAreaName(String sysAreaName) {
            this.sysAreaName = sysAreaName;
        }
    }
}
